package com.ruoyi.enterprise.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业关系对象 enterprise_relationship
 * 
 * @author ruoyi
 * @date 2024-03-24
 */
public class EnterpriseRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    private Long enterpriseId;

    /** 企业所处生产环节 */
    @Excel(name = "企业所处生产环节")
    private Long productionStage;

    /** 合作企业ID */
    private Long cooperatingEnterpriseId;

    /** 合作企业名称 */
    @Excel(name = "合作企业名称")
    private Long cooperatingEnterpriseName;

    /** 合作企业优先级 */
    @Excel(name = "合作企业优先级")
    private Long cooperationPriority;

    /** 合作企业关系 */
    @Excel(name = "合作企业关系")
    private Long cooperationDirection;

    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setProductionStage(Long productionStage) 
    {
        this.productionStage = productionStage;
    }

    public Long getProductionStage() 
    {
        return productionStage;
    }
    public void setCooperatingEnterpriseId(Long cooperatingEnterpriseId) 
    {
        this.cooperatingEnterpriseId = cooperatingEnterpriseId;
    }

    public Long getCooperatingEnterpriseId() 
    {
        return cooperatingEnterpriseId;
    }
    public void setCooperatingEnterpriseName(Long cooperatingEnterpriseName) 
    {
        this.cooperatingEnterpriseName = cooperatingEnterpriseName;
    }

    public Long getCooperatingEnterpriseName() 
    {
        return cooperatingEnterpriseName;
    }
    public void setCooperationPriority(Long cooperationPriority) 
    {
        this.cooperationPriority = cooperationPriority;
    }

    public Long getCooperationPriority() 
    {
        return cooperationPriority;
    }
    public void setCooperationDirection(Long cooperationDirection) 
    {
        this.cooperationDirection = cooperationDirection;
    }

    public Long getCooperationDirection() 
    {
        return cooperationDirection;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("enterpriseId", getEnterpriseId())
            .append("productionStage", getProductionStage())
            .append("cooperatingEnterpriseId", getCooperatingEnterpriseId())
            .append("cooperatingEnterpriseName", getCooperatingEnterpriseName())
            .append("cooperationPriority", getCooperationPriority())
            .append("cooperationDirection", getCooperationDirection())
            .toString();
    }
}
